install tailwind css in react

40

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init
@import "tailwindcss/base";

@import "tailwindcss/components";

@import "tailwindcss/utilities";
npm install tailwindcss postcss-cli [email protected] -D
npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat @tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9
/* ./src/index.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

Comments

Submit
0 Comments